/**
 * Author: w景洋.
 * Time: 2016/7/6 0006
 */
angular.module('ad_service.menu', [

    ])

    .config(['$stateProvider',   '$urlRouterProvider',
        function($stateProvider, $urlRouterProvider) {
            $stateProvider

            .state('model.menu', {
                url : '/menu',
                templateUrl: service_templateprefix + 'ad_service/ad_menu.html',
                controller: 'MenuController'
            })
            .state('model.bysj', {
                url : '/bysj',
                templateUrl: service_templateprefix + 'ad_service/content_bysj.html',
                controller: 'BysjController'
            })
        }])

    .controller('MenuController', ['$scope', '$state','adService', function($scope,$state,adService) {
        //$("#making").onmouseover;
        $scope.ent_mallurl = projectBaseUrl;
        $state.go("model.menu.making");
    }])
    .controller('BysjController', ['$scope', '$state','adService', function($scope,$state,adService) {
        //$("#making").onmouseover;
        //$state.go("menu.operating");
        console.log(1)
    }])